import Mock from 'mockjs'
import city from './city.json'


Mock.mock('/api/city', () => ({ code: 200, data: city }))


Mock.mock('/api/list', {
	code: 200,
	"data|10": [{
		'url': '@image(100x100, @color)',
		'id': '@id',
		'desc': '@cword(20,30)',
		'title': '@ctitle',
		'price|100-1000': 1,
	}]
})